import useURLStringUnion from 'hooks/useURLStringUnion';
import { vulnerabilityStates } from 'types/cve.proto';

export default function useVulnerabilityState() {
    const [vulnerabilityStateKey] = useURLStringUnion('vulnerabilityState', vulnerabilityStates);

    return vulnerabilityStateKey;
}
